package com.qf.timejob;

import com.qf.service.OrdersService;

public class TimeoutCancelOrderJob {

    private OrdersService ordersService;

    public TimeoutCancelOrderJob(OrdersService ordersService) {
        this.ordersService = ordersService;
    }

    public void timeoutOrder(){
        ordersService.timeOutOrder();
    }
}
